diff options
| author | Adam Soltys <[email protected]> | 2026-02-03 11:41:09 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 15:33:27 -0800 |
| commit | 4bc319a709d27bcdb805294e019d53e25f6e00c5 (patch) | |
| tree | 2ab903d969946ddd6129f2e6b796368adeef65cd /src/routes/(app)/[username]/accepted | |
| parent | 8a6108a56c2e5035fd99c39ea13104cf23d98e2d (diff) | |
| download | coinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.tar.gz coinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.zip | |
fix warnings
Diffstat (limited to 'src/routes/(app)/[username]/accepted')
| -rw-r--r-- | src/routes/(app)/[username]/accepted/[text]/+page.svelte | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/routes/(app)/[username]/accepted/[text]/+page.svelte b/src/routes/(app)/[username]/accepted/[text]/+page.svelte index 1483a294..93a06903 100644 --- a/src/routes/(app)/[username]/accepted/[text]/+page.svelte +++ b/src/routes/(app)/[username]/accepted/[text]/+page.svelte @@ -10,7 +10,7 @@ let { data } = $props(); let { nfc, text } = $derived(data); let { username } = $derived(data.subject); - let url = `https://coinos.io/p/${username.toLowerCase()}`; + let url = $derived(() => `https://coinos.io/p/${username.toLowerCase()}`); let lnurl = $derived( `https://${PUBLIC_DOMAIN}/ln/${encode( @@ -29,7 +29,11 @@ > <div class="flex gap-2 mx-auto justify-center"> <!-- <img src="/images/bitcoin.png" class="w-16 h-16 my-auto" /> --> - <img src="/images/bitcoin-logo.png" class="my-auto w-[400px]" /> + <img + src="/images/bitcoin-logo.png" + class="my-auto w-[400px]" + alt="Bitcoin" + /> <!-- <h3 class="text-5xl font-bold text-center my-auto"> --> <!-- bitcoin --> <!-- </h3> --> @@ -38,10 +42,12 @@ <img src="/images/tap.png" class="w-24 absolute top-52 left-4 rotate-[-10deg]" + alt="Tap" /> <img src="/images/arrow.png" class="w-24 scale-x-[-1] rotate-[120deg] absolute top-52 left-32 w-20 h-52" + alt="Arrow" /> {/if} <Qr {text} icon="icon.png" /> |
